﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;

namespace XRM.Solutions.FrameworkSample.Common
{
    public class CreditCheckService : ICreditCheckService
    {
        public int RunCreditCheck(string creditCheckType, string firstname, string lastname, DateTime birthdate)
        {
            Thread.Sleep(10000);
            Random random = new Random();
            return random.Next(0, 999);
        }
    }
}
